package com.ml.mall.mapper.sys;

import com.ml.mall.bean.req.sys.SysSubRoutingDelDto;
import com.ml.mall.bean.req.sys.SysSubRoutingNewDto;
import com.ml.mall.bean.req.sys.SysSubRoutingQueryPageDto;
import com.ml.mall.entity.sys.SysRouting;
import com.ml.mall.entity.sys.SysSubscriptionRouting;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity com.ml.mall.entity.sys.SysSubscriptionRouting
 */
@Mapper
@Repository
public interface SysSubscriptionRoutingMapper extends BaseMapper<SysSubscriptionRouting> {
    List<SysRouting> selectPage(@Param("dto") SysSubRoutingQueryPageDto dto);

    Integer selectPageCount(@Param("dto") SysSubRoutingQueryPageDto dto);

    Integer insertBatch(@Param("dto") SysSubRoutingNewDto dto);
}




